package com.atguigu.gmall.seckill.mapper;

import com.atguigu.gmall.seckill.entity.SeckillGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 10574
* @description 针对表【seckill_goods】的数据库操作Mapper
* @createDate 2022-12-28 01:06:23
* @Entity com.atguigu.gmall.seckill.entity.SeckillGoods
*/
public interface SeckillGoodsMapper extends BaseMapper<SeckillGoods> {

    /**
     * 查询当天参与秒杀的所有商品
     * @param date
     * @return
     */
    List<SeckillGoods> getSeckillGoodsByDay(@Param("date") String date);
}




